﻿using SqlSugar;

namespace Api.Shared.Model.XinYa
{
    public class TestRecord
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        [SugarColumn(IsNullable = true)]
        public int Number { get; set; }

        [SugarColumn(IsNullable = true)]
        public DateTime Time { get; set; } = DateTime.Now;


        [SugarColumn(IsNullable = true)]
        public double InputVoltage { get; set; }

        [SugarColumn(IsNullable = true)]
        public double InputCurrent { get; set; }

        [SugarColumn(IsNullable = true)]
        public double OutputVoltage { get; set; }

        [SugarColumn(IsNullable = true)]
        public double OutputCurrent { get; set; }

        [SugarColumn(IsNullable = true)]
        public double TestPC { get; set; }

        public int TestReportId { get; set; }
    }
}
